package com.itheima.service;

import com.itheima.pojo.OmsOrderReturnReason;
import com.itheima.vo.PageResultVo;

import java.util.List;

public interface OmsOrderReturnReasonApi {
    List<OmsOrderReturnReason> getAllReason();

    void create(OmsOrderReturnReason reason);

    List<OmsOrderReturnReason> getReasonByids(List<Long> ids);

    void deleteByIds(List<Long> ids);

    PageResultVo list(Integer pageNum, Integer pageSize);

    OmsOrderReturnReason findByid(Long ids);

    void updateStatus(Integer ids, Integer status);

    void updateByid(OmsOrderReturnReason reason);
}
